<?php  if ( ! defined('CentPHP')) exit( "Disallow to access direct!" );
/*
    |====================================================|
	|  CentPHP                                           |
	|----------------------------------------------------|
	|  package      lib/kernel/Class.Router.php                |
	|  auther       Boyu Sun                             |
	|  copyright    Copyright (c) 2008, sunboyu.cn       |
	|  license      freebsd-license                      |
	|  link         www.sunboyu.cn                       |
	|  version      Version 0.1                          |
	|====================================================|
*/

/*
    +-------------------------------------------------------------------
	| class Router
	| Detecting routing.
	+-------------------------------------------------------------------
*/

class Router
{
	var $uri = '';
	var $module  = '';
	var $action  = '';
    /*
	 *  Constructer
	 *  @param null
	 *  @retrun null
	 */
	function __construct()
	{
		$this->uri = &new_class('URI');
		$this->module = $this->uri->get_module();
		$this->action = $this->uri->get_action();
	}
}
?>